package cn.diancan.vo;

import cn.diancan.util.DateUtil;

public class YmAuthorityVo {
    
	private Long    id;          //id
	private String url;     //url地址
	private String name;     //权限名称
	private Long  parent_id;//上一级 多对一
	private String creationDate; //创建时间
	private String modificationDate;//修改时间
	private Integer enable;      //是否可用 1：可用 0：禁用
	private Integer indexNo;     //排序标识
	
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public String getCreationDate() {
		return DateUtil.getMysqlDateTime(creationDate);	
	}
	public void setCreationDate(String creationDate) {
		this.creationDate = creationDate;
	}
	public String getModificationDate() {
		return DateUtil.getMysqlDateTime(modificationDate);
	}
	public void setModificationDate(String modificationDate) {
		this.modificationDate = modificationDate;
	}
	public Integer getEnable() {
		return enable;
	}
	public void setEnable(Integer enable) {
		this.enable = enable;
	}
	public Integer getIsDelete() {
		return isDelete;
	}
	public void setIsDelete(Integer isDelete) {
		this.isDelete = isDelete;
	}
	public Long getParent_id() {
		return parent_id;
	}
	public void setParent_id(Long parent_id) {
		this.parent_id = parent_id;
	}
	public Integer getIndexNo() {
		return indexNo;
	}
	public void setIndexNo(Integer indexNo) {
		this.indexNo = indexNo;
	}
	private Integer isDelete;     //是否删除 0:未删除 1：删除   //角色描述

}
